package com.ruoyi.pack.domain.dto;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 器具汇总统计DTO
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class PackContainerSummaryDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 器具型号编码 */
    @Excel(name = "器具型号编码")
    private String materialCode;

    /** 器具型号名称 */
    @Excel(name = "器具型号名称")
    private String materialName;

    /** 所在仓库ID */
    private Long warehouseId;

    /** 所在仓库名称 */
    @Excel(name = "所在仓库")
    private String warehouseName;

    /** 所属项目ID */
    private Long projectId;

    /** 所属项目编码 */
    @Excel(name = "项目编码")
    private String projectCode;

    /** 所属项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 器具状态（1-在库 2-在途） */
    @Excel(name = "器具状态", readConverterExp = "1=在库,2=在途")
    private String locationStatus;

    /** 器具数量 */
    @Excel(name = "器具数量")
    private Integer containerCount;

    /** 公司ID（用于权限控制，不导出） */
    private Long companyId;

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getLocationStatus() {
        return locationStatus;
    }

    public void setLocationStatus(String locationStatus) {
        this.locationStatus = locationStatus;
    }

    public Integer getContainerCount() {
        return containerCount;
    }

    public void setContainerCount(Integer containerCount) {
        this.containerCount = containerCount;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    @Override
    public String toString() {
        return "PackContainerSummaryDto{" +
                "materialCode='" + materialCode + '\'' +
                ", materialName='" + materialName + '\'' +
                ", warehouseId=" + warehouseId +
                ", warehouseName='" + warehouseName + '\'' +
                ", projectId=" + projectId +
                ", projectCode='" + projectCode + '\'' +
                ", projectName='" + projectName + '\'' +
                ", locationStatus='" + locationStatus + '\'' +
                ", containerCount=" + containerCount +
                ", companyId=" + companyId +
                '}';
    }
}
